900d3a13b60045a72aa30e6ab0604ffdd18245d4,zanata-war/src/main/java/org/zanata/service/impl/TranslationServiceImpl.java,TranslationServiceImpl,revertTranslations,#LocaleId#List#,558
Before Change
for (TransUnitUpdateInfo info : translationsToRevert)
{
TransUnitId tuId = info.getTransUnit().getId();
HTextFlow hTextFlow = (HTextFlow) session.get(HTextFlow.class, tuId.getValue());
HTextFlowTarget hTextFlowTarget = getOrCreateTarget(hTextFlow, hLocale);
//check that version has not advanced
After Change
for (TransUnitUpdateInfo info : translationsToRevert)
{
TransUnitId tuId = info.getTransUnit().getId();
HTextFlow hTextFlow = entityManager.find(HTextFlow.class, tuId.getValue());
HTextFlowTarget hTextFlowTarget = getOrCreateTarget(hTextFlow, hLocale);
//check that version has not advanced